export interface Admin{
    id?:number,
    username?:string,
    password?:string,
    salt?:string,
    avatar?:string,
    permission?:string,
    sort?:number,
    state?:number|boolean
}
export interface Category{
    id?:number,
    name?:string,
    pid?:number,
    children?:Category[],
    hasChild?:boolean
}
export interface Goods{
    id?:number,
    category_id?:number|string,
    name?:string,
    price?:number|string,
    picture?:string,
    stock?:number|string,
    spec?:string,
    description?:string
}
export interface CutpageParam{
    page:number,
    pagesize:number,
    search?:string
}
export interface User{
    id?:number,
    username?:string,
    password?:string,
    state?:number|string|boolean
}
export interface Permission{
    id:number,
    permission:string
}